{% load my_tags %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>captcha</title>
    <style>
        #id_captcha_1 {
            height: 38px;
            font-size: 30px;
            width: 160px;
            padding-top: -20px;
        }

        .captcha {
            margin-top: 15px;
            height: 44px;
            float: bottom;
        }
    </style>
</head>
<body>
<form action="" method="post">

    {% csrf_token %}
    <div><input type="text"></div>

    <div>{{ form.captcha }}</div>
</form>
{% if test_str|str_to_int > 4 %}
    <p>sss</p>
{% endif %}
</body>
</html>